package framework.view;

import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;

import javax.swing.JLabel;

import framework.utils.*;
import framework.model.*;

public class UserInfoView extends View {

	private JLabel userNameLabel;
	
	public UserInfoView(Model model) {
		super(model);
		init();
		
		add(userNameLabel);
	}

	private void init() {
		this.setBackground(Color.DARK_GRAY);
		this.userNameLabel = new JLabel(UserPreferences.getProperty("username", "PietjePrecies").toString());
		this.userNameLabel.setFont(new Font("Arial", Font.BOLD,24));
		this.userNameLabel.setForeground(Color.WHITE);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
	}

}
